package com.zuthub.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zuthub.common.annotation.Excel;
import com.zuthub.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 光荣榜对象 sys_honor
 * 
 * @author zuthub
 * @date 2021-04-02
 */
public class SysHonor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 光荣榜id */
    private Long honorId;

    /** 社员id */
    @Excel(name = "社员id")
    private Long memberId;

    /** 社员姓名 */
    @Excel(name = "社员姓名")
    private String memberName;

    /** 赛事名称 */
    @Excel(name = "赛事名称")
    private String gameName;

    /** 获奖情况 */
    @Excel(name = "获奖情况")
    private String award;

    /** 获奖时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "获奖时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date awardTime;

    public void setHonorId(Long honorId) 
    {
        this.honorId = honorId;
    }

    public Long getHonorId() 
    {
        return honorId;
    }
    public void setMemberId(Long memberId) 
    {
        this.memberId = memberId;
    }

    public Long getMemberId() 
    {
        return memberId;
    }
    public void setMemberName(String memberName) 
    {
        this.memberName = memberName;
    }

    public String getMemberName() 
    {
        return memberName;
    }
    public void setGameName(String gameName) 
    {
        this.gameName = gameName;
    }

    public String getGameName() 
    {
        return gameName;
    }
    public void setAward(String award) 
    {
        this.award = award;
    }

    public String getAward() 
    {
        return award;
    }
    public void setAwardTime(Date awardTime) 
    {
        this.awardTime = awardTime;
    }

    public Date getAwardTime() 
    {
        return awardTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("honorId", getHonorId())
            .append("memberId", getMemberId())
            .append("memberName", getMemberName())
            .append("gameName", getGameName())
            .append("award", getAward())
            .append("awardTime", getAwardTime())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
